package com.itheima.pojo;

import java.io.Serializable;

public class Sports implements Serializable {
    private Integer id;
    private String sportsId;
    private String sportsName;
    private Integer sportsRisk;
    private Integer sportsType;
    private String sportsTime;
    private String sportsFre;
    private Integer minAge;
    private Integer maxAge;
    private String actionParts;
    private String actionMethod;
    private Integer isStart;
    private float calorie;
    private float energy;

    public Sports() {

    }

    public Sports(Integer id, String sportsId, String sportsName, Integer sportsRisk, Integer sportsType, String sportsTime, String sportsFre, Integer minAge, Integer maxAge, String actionParts, String actionMethod, Integer isStart, float calorie, float energy) {
        this.id = id;
        this.sportsId = sportsId;
        this.sportsName = sportsName;
        this.sportsRisk = sportsRisk;
        this.sportsType = sportsType;
        this.sportsTime = sportsTime;
        this.sportsFre = sportsFre;
        this.minAge = minAge;
        this.maxAge = maxAge;
        this.actionParts = actionParts;
        this.actionMethod = actionMethod;
        this.isStart = isStart;
        this.calorie = calorie;
        this.energy = energy;
    }


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getSportsId() {
        return sportsId;
    }

    public void setSportsId(String sportsId) {
        this.sportsId = sportsId;
    }

    public String getSportsName() {
        return sportsName;
    }

    public void setSportsName(String sportsName) {
        this.sportsName = sportsName;
    }

    public Integer getSportsRisk() {
        return sportsRisk;
    }

    public void setSportsRisk(Integer sportsRisk) {
        this.sportsRisk = sportsRisk;
    }

    public Integer getSportsType() {
        return sportsType;
    }

    public void setSportsType(Integer sportsType) {
        this.sportsType = sportsType;
    }

    public String getSportsTime() {
        return sportsTime;
    }

    public void setSportsTime(String sportsTime) {
        this.sportsTime = sportsTime;
    }

    public String getSportsFre() {
        return sportsFre;
    }

    public void setSportsFre(String sportsFre) {
        this.sportsFre = sportsFre;
    }

    public Integer getMinAge() {
        return minAge;
    }

    public void setMinAge(Integer minAge) {
        this.minAge = minAge;
    }

    public Integer getMaxAge() {
        return maxAge;
    }

    public void setMaxAge(Integer maxAge) {
        this.maxAge = maxAge;
    }

    public String getActionParts() {
        return actionParts;
    }

    public void setActionParts(String actionParts) {
        this.actionParts = actionParts;
    }

    public String getActionMethod() {
        return actionMethod;
    }

    public void setActionMethod(String actionMethod) {
        this.actionMethod = actionMethod;
    }

    public Integer getIsStart() {
        return isStart;
    }

    public void setIsStart(Integer isStart) {
        this.isStart = isStart;
    }

    public float getCalorie() {
        return calorie;
    }

    public void setCalorie(float calorie) {
        this.calorie = calorie;
    }

    public float getEnergy() {
        return energy;
    }

    public void setEnergy(float energy) {
        this.energy = energy;
    }

    @Override
    public String toString() {
        return "Sports{" +
                "id=" + id +
                ", sportsId='" + sportsId + '\'' +
                ", sportsName='" + sportsName + '\'' +
                ", sportsRisk=" + sportsRisk +
                ", sportsType=" + sportsType +
                ", sportsTime='" + sportsTime + '\'' +
                ", sportsFre='" + sportsFre + '\'' +
                ", minAge=" + minAge +
                ", maxAge=" + maxAge +
                ", actionParts='" + actionParts + '\'' +
                ", actionMethod='" + actionMethod + '\'' +
                ", isStart=" + isStart +
                ", calorie=" + calorie +
                ", energy=" + energy +
                '}';
    }
}
